﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using LeadThing.AbpZeroTemplate.CommandDispatches;

namespace LeadThing.AbpZeroTemplate.CommandDispatches.Dtos
{
    /// <summary>
    /// 指挥调度编辑用Dto
    /// </summary>
    [AutoMap(typeof(CommandDispatch))]
    public class CommandDispatchEditDto
    {

        /// <summary>
        ///   主键Id
        /// </summary>
        [DisplayName("主键Id")]
        public long? Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [DisplayName("名称")]
        [Required]
        [MaxLength(100)]
        public string Title { get; set; }

        /// <summary>
        /// 好视通用户名
        /// </summary>
        [DisplayName("好视通用户名")]
        [Required]
        [MaxLength(50)]
        public string HSTUserId { get; set; }

        /// <summary>
        /// 好视通密码
        /// </summary>
        [DisplayName("好视通密码")]
        [Required]
        [MaxLength(50)]
        public string HSTPwd { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        [MaxLength(500)]
        public string Remarks { get; set; }

    }
}
